<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        img {
            width: 200px;
            height: 200px;
            border: 1px solid black;
            transition: all 5s;
        }
        img:hover {
            transform: rotate(360deg);
            transform-origin: right bottom;
        }
    </style>
</head>
<body>
    <img src="./images/rotate.png" alt="">
</body>
</html>